package com.lzx.order;


import com.lzx.common.api.UserApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@Slf4j
@RequestMapping("/order")
public class OrderController {
    @Autowired
    UserApi userApi;
    @RequestMapping(value="/getUserList",method = RequestMethod.GET)
    public List<String> getUserList(){
        return userApi.getFeignList();
    }

}
